package com.juejin.protocol.response;

import com.juejin.protocol.Packet;
import com.juejin.session.Session;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

import static com.juejin.protocol.command.Command.LIST_GROUP_MEMBERS_RESPONSE;

/**
 * @author liliang
 * @date 2020/4/25.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ListGroupMembersResponsePacket extends Packet {

    private String groupId;

    private List<Session> sessionList;

    @Override
    public Byte getCommand() {

        return LIST_GROUP_MEMBERS_RESPONSE;
    }
}
